<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html>
	<head>
		<title>Добро пожаловать в MusClS</title>
		<%= stylesheet_link_tag "scaffold" , "muscls" , :media => "all" %>
	</head>
	<body id="login" >
		<table id="login_box" align="center" cellspacing="0" cellpadding="0">
			<tr>
				<td width="160" height="80">
					<img src="/images/muscls.png" width="160" height="80" alt="muscls logo" />
				</td>
				<td id="header1" colspan="2"  width="440">
					Добро пожаловать в<br />MUSCLS!
				</td>
			</tr>
			<tr>
				<td colspan="3" id="main">
					<% if flash[:notice] -%>
					<div id="notice" ><%= flash[:notice] %></div>
					<% end -%>
					<%= yield :layout %>
				</td>
			</tr>
			<tr>
				<td colspan="2" width="440" height="80">
					<%= link_to "Вход" , :controller => 'login', :action => 'login' %><br />
					<%= link_to "Регистрация" , :controller => 'login', :action => 'register' %><br />
					<%= link_to "Что это такое?" , :controller => 'login', :action => 'index' %>
				</td>
				<td width="160" height="80" align="right">
					<img src="/images/midiports.png" width="160" height="80" alt="midi ports" />
				</td>
			</tr>
		</table>
	</body>
</html>